package com.mySampleApplication.client.codeRule;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.smartgwt.client.widgets.grid.ListGridRecord;

import java.util.List;
import java.util.Map;

public interface CodeRuleServiceAsync {
    void getMessage(Map<String, String> data, List<Map<String, String>> list, Map<String, String> map, AsyncCallback<String> async);
    void getTotal(Map<String, String> map, AsyncCallback<String> async);
    void getSelect(Map<String, String> map, Map<String, String> mapPage, AsyncCallback<CodeRuleDto> async);
    void getCodeRuleAtterVersionMapList(Map<String, String> map,  AsyncCallback<CodeRuleDto> async);
    void getCodeRuleVersionMap(Map<String, String> map,  AsyncCallback<CodeRuleDto> async);
    void deleteCodeRuleVersion(Map<String, String> map, AsyncCallback<String> async);
    void setInsert(Map<String, String> map, AsyncCallback<String> async);
    void setSbInsert(Map<String, String> map, AsyncCallback<String> async);
    void setUpdate(Map<String, String> map, AsyncCallback<String> async);
    void setStatus(Map<String, String> map, AsyncCallback<String> async);
    void setDelete(int[] ids, AsyncCallback<String> async);
    void deleteById(String id, AsyncCallback<String> async);
    void selectById(String id, AsyncCallback<Map<String, String>> async);

    void setSbUpdate(Map<String, String> map, AsyncCallback<String> async);

    void getSelectVs(String id, Map<String, String> mapPage, AsyncCallback<CodeRuleDto> async);
}
